package com.example.zhaohang.intentbudle;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;

public class ThreeActivity extends AppCompatActivity {

    private TextView mTextView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_three);
        mTextView = (TextView) findViewById(R.id.activity_three);
        Bundle extras = getIntent().getExtras();
        String three = extras.getString("three");
        mTextView.setText(three);
    }
}
